package com.itheima.model.domain;

import javax.persistence.*;

@Entity
public class BusGoodsInfo {


    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_priece() {
        return goods_priece;
    }

    public void setGoods_priece(String goods_priece) {
        this.goods_priece = goods_priece;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_content() {
        return goods_content;
    }

    public void setGoods_content(String goods_content) {
        this.goods_content = goods_content;
    }

    public String getGoods_type() {
        return goods_type;
    }

    public void setGoods_type(String goods_type) {
        this.goods_type = goods_type;
    }

    @Id
    @GeneratedValue

    private int goods_id;
    //价格
    private String goods_priece;


    private String goods_name;
    //简介
    private String goods_content;



    //类型
    private  String goods_type;

    public BusUser getBusUser_goods_id() {
        return busUser_goods_id;
    }

    public void setBusUser_goods_id(BusUser busUser_goods_id) {
        this.busUser_goods_id = busUser_goods_id;
    }

    //所属商家信息
    @ManyToOne
    private BusUser busUser_goods_id;


    //评论的文章




}
